You are here: Symbol Reference > Stimulsoft.Report.Dictionary Namespace > StiDataSource Class > StiDataSource Methods > SetSort Method
Stimulsoft Reports Class Reference
ContentsIndexHome
PreviousUpNext
StiDataSource.SetSort Method

Sorts data. If data source is not able to sort data then this command is ignored.

Syntax
C++
C#
Visual Basic
public: void SetSort( object [,,] conditions, string [] sortColumns, StiComponent component, StiDataBand databand, StiComponentsCollection groupHeaders );
Parameters
Parameters 
Description 
sortColumns 
Parameters of sorting. Array with group conditions. 0 dimension - data rows, 1 dimension - group condition, 2 dimension - sort direction 

new string[] {"ASC", "Company", "DESC", "ParentRelation", "DATE"}

Made with Doc-O-Matic.
What do you think about this topic? Send feedback!
Copyright (c) 2017. All rights reserved.